package index.oop;

public class Student {
    //javaBean
    //不需要写main方法
    //定义属性
    String name;
    int age;
    double height;
    int id;
    //定义行为 方法
    public  void  study(){
        System.out.println("i having studying java");
    }
    public void studyTwo(){
        System.out.println("next lesson study computer  internet ");
    }
    public void eat(){
        System.out.println("eat lunch");
    }
    public void sleeping(){
        System.out.println("i should sleep");
    }
    public void studyThree(){
        System.out.println("go on study");
    }
    public void playGame(){
        System.out.println("play king of honor");
    }
}
